package com.jhc.soft.service;

import com.jhc.soft.dto.LoginDto;
import com.jhc.soft.dto.ValidDto;
import com.jhc.soft.entity.User;

/**
 * @Author: zfm
 * @Date: 2021/11/11 09:12
 */
public interface IUserService {
    User getById(int id);

    Object login(String username, String password);

    Object  zhuce(int id, String username, String password, String name);

    Object valid(ValidDto dto);

    Object zhuce(String username, String password, String name);
    Object loginByMin(LoginDto dto);
}

